package com.foreknow.domo7;

public class Dog extends Pet {
    @Override
    public void toHospital() {
        this.setHealth(60);
        System.out.println("吃药、打针......");
    }

    @Override
    public void eat() {
        System.out.println("大骨头......");
    }

    public void game() {
        System.out.println("玩游戏......");
    }
}
